<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title></title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <link rel="stylesheet" href="css/ui-input_ac.css">
        <link rel="stylesheet" href="css/ui-img_ac.css">
        <link rel="stylesheet" href="css/ui-base_ac.css">
        <link rel="stylesheet" href="css/ui-box_ac.css">
        <link rel="stylesheet" href="css/ui-color_ac.css">
		<script src="js/accountsQuery.js?v=2"></script>
        <script src="js/zy_control.js"></script>
        <script src="js/zy_click.js"></script>
        <script src="js/jquery-1.9.1.min.js"></script>
        <script src="js/base64.js"></script>
        <script src="js/main.js"></script>
		<script src="js/talkingdata.js"></script>
        <style>
            .bcImage {
                background-image: url(images/bcImage.png);
                background-size: 100% 100%;
            }
            .return {
                background-image: url('images/delaySchedule1.png');
                height: 1em;
                width: 1em;
            }
            .calendar {
                background-image: url('images/calendar.png');
                height: 1em;
                width: 1em;
            }
            .down {
                background-image: url('images/down-angle.png');
                width: 1em;
                height: 1em;
            }
            .yes {
                background-image: url(images/1_03.png);
                width: 1.3em;
                height: 1.3em;
            }
            .no {
                background-image: url(images/1_05.png);
                height: 1.3em;
                width: 1.3em;
            }
            .tx-col {
                color: #36395c;
            }
            .bc_wh {
                background-color: white;
            }
            .wid1 {
                width: 100%;
            }
            .hei1 {
                height: 100%;
            }
            .bor_t {
                border: 1px solid #669ab3;
            }
            .bor_s {
                border: 1px solid #4088ab;
                background-color: #0099ff;
                width: 1.6em;
                height: 1.5em;
            }
            .bor_b {
                border: 1px solid rgba(255,255,255);
                border-radius: .2em;
                padding: .75em;
                width: 5.5em;
            }
            .padd {
                padding: .1em;
            }
            .inp {
                width: 100%;
                height: 100%;
                border: 0px;
                font-size: 1em;
                padding: .15em;
            }
            .borr {
                border: 1px solid red;
            }
			
			/***new add****/
			.selecttxt1{
				margin-left: .2em;
				width: 1.5em;
				line-height: 2em;
			}
			.selecttxt2{
				margin-left: .2em;
				width: 13.5em;
				line-height: 2em;
			}
			/**控件统一宽度*/
			.setWidth{
				width: 30%;height:2em;
			}
			.textWidth{
				width: 20%;
				text-align:left;
				white-space: nowrap;
			}
        </style>

    </head>
    <body class="um-vp " ontouchstart>
        <div id="page_0" class="up ub ub-ver bc-bg" tabindex="0">
            <!--header开始-->
            <div id="header" class="uh ub t-wh" style="background-color: #36395c">
                <div class="nav-btn" id="nav-left" onclick="exitApp();">
                    <div class="return ub-img"></div>
                </div>
                <h1 class="ut ub-f1 ulev0 ut-s tx-c " tabindex="0">外站应收应付查询</h1>
                <div class="nav-btn nav-bt" id="nav-right"></div>
            </div>
            <!--header结束--><!--content开始-->
            <div id="content" class="ub-f1 tx-l uinn ub-img bcImage">
                <div class="ub-f1 ub-ver ub-ac ub-pc uinn" style="background-color: rgba(225,225,225,.2)">
                    <div class="ub-ver ub-ac ub-pc ulev-1 tx-col">
                        <div class="ub ub-hor ub-ac ub-pj wid1">
                        	<div class="textWidth">航&nbsp;班&nbsp;日&nbsp;期&nbsp;：</div>
                            <div class="ub ub-ac ub-pc ub-pj bc_wh bor_t padd setWidth">
								<div class="uba uinput" id="flightDate" style="margin: .1em; border:0px;" onclick="checked_day('flightDate')">请选择日期</div>
                            </div>
							
							<input type="checkbox" id="dateBox" value="dateBox" style="width:3em;height:3em;"/>
							<div>日&nbsp;期</div>
                        </div>
                       
					   <div class="ub ub-hor ub-ac ub-pj wid1">
					   	   <div class="textWidth">飞机所属公司：</div>
	                       <div class="ub t-bla ub-ac ub-pj umar-t bc_wh bor_t">
	                            <div class="ub ub-ac ub-pj uc-n sel wid1">
	                                <div id="aircraftText" class="ut-s tx-l tx-col selecttxt2">
	                                    上海总部
	                                </div>
	                                <div class="ub ub-ac ub-pc bor_s">
	                                    <div class="down ub-img"></div>
	                                </div>
	                                <select name="aircraftCompany" id="aircraftCompany" onchange="zy_selectmenu(this.id)" selectedindex="0">
	                                </select>
	                            </div>
	                        </div>
						</div>
					   
					   
                        <div class="ub ub-hor ub-ac ub-pj wid1">
					   	   <div class="textWidth">餐食配备公司：</div>
	                       <div class="ub t-bla ub-ac ub-pj umar-t bc_wh bor_t">
	                            <div class="ub ub-ac ub-pj uc-n sel wid1">
	                                <div id="mealText" class="ut-s tx-l tx-col selecttxt2">
	                                     罗马配餐                                                   
	                                </div>
	                                <div class="ub ub-ac ub-pc bor_s" >
	                                    <div class="down ub-img"></div>
	                                </div>
	                                <select name="mealCompany" id="mealCompany" onchange="zy_selectmenu(this.id)" selectedindex="0" >
	                                </select>
	                            </div>
	                        </div>
						</div>
						 <div class="ub ub-hor ub-ac ub-pj wid1">
					   	   <div class="textWidth">查询航班号：</div>
							 <div class="umar-t ut-s bc_wh bor_t " style="height:2em;width:15.4em">
	                            <input id="hb" placeholder="" class="ub ub-f1 ut-s inp"/>
	                        </div>
						</div>
						
						<div class="ub ub-hor ub-ac ub-pj wid1">
					   	   <div class="textWidth">承&nbsp;&nbsp;运&nbsp;&nbsp;商：</div>
	                       <div class="ub t-bla ub-ac ub-pj umar-t bc_wh bor_t" >
	                            <div class="ub ub-ac ub-pj uc-n sel wid1">
	                                <div id="carrierText" class="ut-s tx-l tx-col selecttxt2">MU</div>
	                                <div class="ub ub-ac ub-pc bor_s" >
	                                    <div class="down ub-img"></div>
	                                </div>
	                                <select name="carrier" id="reason" onchange="zy_selectmenu(this.id)" selectedindex="0">
	                                    <option value="MU">MU</option>
	                                    <option value="FM">FM</option>
	                                    <option value="KN">KN</option>
                               		 </select>
	                            </div>
	                        </div>
						</div>
						
                    </div>
                    <div class="ub ub-ac ub-pc tx-c t-wh ulev-1" style="margin: .8em">
                        <div class="umar-l bor_b"  onclick="QueryGo()" style="background: #0099ff" >
                            查询
                        </div>
                    </div>
                </div>
            </div>
            <!--content结束-->

        </div>

    </body>
    <script>
zy_init();
window.uexOnload = function(type) {
            if (!type) {
				IC.talkingDataCount("外站应收应付费用","0024");
				$$("flightDate").innerHTML = getNowFormatDate();
				getAircraftOption();//获取飞机所属公司
				getMealOption();//获取配餐公司
            }
}


function QueryGo()
{
	IC.talkingDataCount("外站应收应付费用","0024");
	if($$("aircraftCompany").innerHTML.replace(/\s+/g,"") ==''||$$("mealCompany").innerHTML.replace(/\s+/g,"") =='')
	{
		//列表还未来得及加载
		setStorage("aircraftCompanyId","5300");//默认上海总部
		setStorage("mealCompanyId","5494");  //默认罗马配餐
		setStorage("aircraftCompanyName","上海总部");//默认上海总部
		setStorage("mealCompanyName","罗马配餐");  //默认罗马配餐
	}else
	{
		setStorage("aircraftCompanyId", $$("aircraftCompany").options[$$("aircraftCompany").selectedIndex].value);
		setStorage("mealCompanyId",$$("mealCompany").options[$$("mealCompany").selectedIndex].value);
		setStorage("aircraftCompanyName", $$("aircraftCompany").options[$$("aircraftCompany").selectedIndex].text);
		setStorage("mealCompanyName",$$("mealCompany").options[$$("mealCompany").selectedIndex].text);
	}
	setStorage("FLIGHTDATE",$$("flightDate").innerHTML);
	setStorage("carrier",$$("carrierText").innerHTML);
	setStorage("flightNo",$$('hb').innerHTML);
	setStorage("isOneDayData",$$('dateBox').checked);//是否只显示一天的数据
	openNewWin("accountsQueryInfo","accountsQueryInfo.html");
	
	
}
    </script>
</html>